package com.dynamic.idea.quick.develop.plugin.entity;

import com.alibaba.fastjson.JSON;
import com.dynamic.idea.quick.develop.plugin.entity.base.ProjectStructProviderEntity;
import com.dynamic.idea.quick.develop.plugin.entity.base.ProjectStructProviderImplEntity;

public class Test01 {

    public static void main(String[] args) {
        ProjectStructEntity projectStructEntity=new ProjectStructEntity();

        ProjectStructProviderImplEntity providerImplEntity=new ProjectStructProviderImplEntity();

        providerImplEntity.setBasePackageName("cn.sdpjw.order");
        providerImplEntity.setClassName("BillOrder");
        providerImplEntity.setProjectName("order-service");


        ProjectStructProviderEntity providerEntity=new ProjectStructProviderEntity();
        providerEntity.setBasePackageName("cn.sdpjw.order.stub");
        providerEntity.setClassName("BillOrder");
        providerEntity.setProjectName("order-stub");




        projectStructEntity.setProviderImplEntity(providerImplEntity);
        projectStructEntity.setProviderEntity(providerEntity);

        System.out.println(JSON.toJSONString(projectStructEntity,true));

    }
}
